<div class="modal fade" id="modal_modify" style="padding-top: 150px" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                    &times;
                </button>
                <h4 class="modal-title" id="myModalLabel">
                    权限修改
                </h4>
            </div>
                <#if result??>
                <div class="modal-body">
                    <form id="form_modify" class="form-horizontal" role="form">
                        <div class="form-group hidden">
                            <label for="firstname" class="col-sm-2 control-label">ID</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control" id="userId" name="id" value="${result.id?default("")}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="firstname" class="col-sm-2 control-label">映射规则</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control" id="permRegulation_modify" name="permRegulation" placeholder="请输入资源映射规则" value="${result.permRegulation?default("")}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="firstname" class="col-sm-2 control-label">资源路径</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control" id="permPath_modify" name="permPath" placeholder="请输入资源路径" value="${result.permPath?default("")}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="firstname" class="col-sm-2 control-label">资源名称</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control" id="permName_modify" name="permName" placeholder="请输入资源名称" value="${result.permName?default("")}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="firstname" class="col-sm-2 control-label">描&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;述</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control" id="description_modify" name="description" placeholder="请输入描述" value="${result.description?default("")}">
                            </div>
                        </div>
                        <#--<div class="form-group">-->
                            <#--<label for="firstname" class="col-sm-2 control-label">是否可用：1是 0否</label>-->
                            <#--<div class="col-sm-10">-->
                                <#--<input type="text" class="form-control" id="isAvailable_modify" name="isAvailable" placeholder="请输入是否可用：1是 0否" value="${result.isAvailable?default("")}">-->
                            <#--</div>-->
                        <#--</div>-->
                        <#--<div class="form-group">-->
                            <#--<label for="firstname" class="col-sm-2 control-label">资源级别</label>-->
                            <#--<div class="col-sm-10">-->
                                <#--<input type="text" class="form-control" id="permLevel_modify" name="permLevel" placeholder="请输入资源级别" value="${result.permLevel?default("")}">-->
                            <#--</div>-->
                        <#--</div>-->
                        <#--<div class="form-group">-->
                            <#--<label for="firstname" class="col-sm-2 control-label">父资源id</label>-->
                            <#--<div class="col-sm-10">-->
                                <#--<input type="text" class="form-control" id="parentId_modify" name="parentId" placeholder="请输入父资源id" value="${result.parentId?default("")}">-->
                            <#--</div>-->
                        <#--</div>-->
                        <#--<div class="form-group">-->
                            <#--<label for="firstname" class="col-sm-2 control-label">资源排序</label>-->
                            <#--<div class="col-sm-10">-->
                                <#--<input type="text" class="form-control" id="sort_modify" name="sort" placeholder="请输入资源排序" value="${result.sort?default("")}">-->
                            <#--</div>-->
                        <#--</div>-->
                        <#--<div class="form-group">-->
                            <#--<label for="firstname" class="col-sm-2 control-label">图标路径</label>-->
                            <#--<div class="col-sm-10">-->
                                <#--<input type="text" class="form-control" id="iconPath_modify" name="iconPath" placeholder="请输入图标路径" value="${result.iconPath?default("")}">-->
                            <#--</div>-->
                        <#--</div>-->
                        <div class="form-group">
                            <label for="firstname" class="col-sm-2 control-label">备&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;注</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control" id="remark_modify" name="remark" placeholder="请输入备注" value="${result.remark?default("")}">
                            </div>
                        </div>

                    </form>
                </div>
                </#if>
            <div class="modal-footer">

                <button type="button" id="modalCancel" onclick="function close() {
                                $('#modal_modify').modal('hide');
                            }" class="btn btn-default" data-dismiss="modal">关闭
                </button>
                <button type="button" id="button_modify" onclick="modifyRecord()" class="btn btn-primary">
                    保存
                </button>
            </div>
        </div>
    </div><!-- /.modal-content -->
</div><!-- /.modal -->